package org.finesys.codegen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.finesys.common.mp.core.base.BaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "gen_template")
public class GenTemplate extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long templateId;

    /**
     * 模板代码
     */
    private String templateCode;
    /**
     * 模版名称
     */
    private String templateName;
    /**
     * 模板路径
     */
    private String generatorPath;
    /**
     * 模板描述
     */
    private String templateDesc;

    /**
     * 删除标记
     */
    @TableLogic
    private String delFlag;
}
